/*
 * TAN-Manager
 * Copyright (C) 2011 Bernhard Bermeitinger
 * E-Mail: bernhard.bermeitinger@googlemail.com
 * Link:   https://code.google.com/p/tan-management/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package tan_manager;

import javax.swing.ImageIcon;
import javax.swing.JFrame;

import tan_manager.gui.TANFrame;

/**
 * This program reads txt-files in its directory and is mainly for giving
 * one specific line back, copying it into the clipboard and deleting it
 * afterwards from the file.
 *
 * @author Bernhard Bermeitinger
 */
public class Main {

    /**
     * Utility class. Don't instatiate me.
     */
    private Main() {}

    /**
     * Main method to start the program here.
     *
     * @param args Arguments for the program. Not used.
     */
    public static void main(String[] args) {
        TANFrame mainFrame = new TANFrame("TAN-Manager");


        mainFrame.setIconImage(new ImageIcon("resources/images/small-logo.png").getImage());

        mainFrame.addComponentsToPane(mainFrame.getContentPane());

        mainFrame.pack();
        mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        mainFrame.setVisible(true);
    }

}
